
export DEVECO_SDK_HOME=/command-line-tools/sdk
export PATH=/command-line-tools/ohpm/bin:$PATH 
export PATH=/command-line-tools/hvigor/bin:$PATH 
export PATH=/command-line-tools/tool/node/bin:$PATH 

chmod -R +x /command-line-tools/

chmod -R +x /flutter_embed_into_qt_depend/install

cd /flutter_embed_into_qt/flutter_embed_into_qt

/command-line-tools/ohpm/bin/ohpm install --all --registry https://ohpm.openharmony.cn/ohpm/ --strict_ssl true

node ../../../command-line-tools/hvigor/bin/hvigorw.js --mode module -p product=default -p module=embedded@default assembleHar --analyze=normal --parallel --incremental --daemon

rm -rf /third_party/

mkdir -p /third_party/flutter/flutter_embed_into_qt/out

cp /flutter_embed_into_qt/flutter_embed_into_qt/embedded/build/default/outputs/default/embedded.har /third_party/flutter/flutter_embed_into_qt/out









